/*
 * Powered By XY
 * Since 2020
 */

package com.xy.biz.base.domain.req;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;


import java.time.LocalDate;
import java.time.LocalDateTime;

import javax.validation.constraints.Max;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 *
 *
 * @author zgy
 * @date 2021-9-22
 */
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Data
public class SaveGoodsBatchRequest {

    /**
     * 货品批次Id
     */
    private Integer goodsBatchId;
    /**
     * 批次代码
     */
    @NotBlank
    private String goodsBatchCode;
    /**
     * 货主Id
     */
    private Long goodsOwnerId;
    /**
     * 浓度
     */
    private String concentration;
    /**
     * 浓度单位
     */
    private String concentrationUnit;
    /**
     * 规格
     */
    private Double specification;
    /**
     * 货品Id
     */
    @NotNull
    private Long goodsId;
    /**
     * 生产日期
     */
    private LocalDate productionDate;
    /**
     * 备注
     */
    private String memo;

}
